home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / pgmtopbm.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppggggmmmmttttooooppppbbbbmmmm((((1111))))       XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22226666 JJJJuuuullllyyyy 1111999988888888))))       ppppggggmmmmttttooooppppbbbbmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           pgmtopbm - convert a portable graymap into a portable bitmap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppggggmmmmttttooooppppbbbbmmmm [----ffffllllooooyyyydddd|----ffffssss|----tttthhhhrrrreeeesssshhhhoooolllldddd |----ddddiiiitttthhhheeeerrrr8888|----dddd8888|----cccclllluuuusssstttteeeerrrr3333 |----
  13.           cccc3333|----cccclllluuuusssstttteeeerrrr4444|----cccc4444 |----cccclllluuuusssstttteeeerrrr8888|----cccc8888] [----vvvvaaaalllluuuueeee _v_a_l] [_p_g_m_f_i_l_e]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           Reads a portable graymap as input.  Produces a portable
  17.           bitmap as output.
  18.  
  19.           Note that there is no pbmtopgm converter, because any pgm
  20.           program can read pbm files automagically.
  21.  
  22.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  23.           The default quantization method is boustrophedonic Floyd-
  24.           Steinberg error diffusion (----ffffllllooooyyyydddd or ----ffffssss).  Also available
  25.           are simple thresholding (----tttthhhhrrrreeeesssshhhhoooolllldddd); Bayer's ordered dither
  26.           (----ddddiiiitttthhhheeeerrrr8888) with a 16x16 matrix; and three different sizes of
  27.           45-degree clustered-dot dither (----cccclllluuuusssstttteeeerrrr3333, ----cccclllluuuusssstttteeeerrrr4444, ----
  28.           cccclllluuuusssstttteeeerrrr8888).
  29.  
  30.           Floyd-Steinberg will almost always give the best looking
  31.           results; however, looking good is not always what you want.
  32.           For instance, thresholding can be used in a pipeline with
  33.           the _p_n_m_c_o_n_v_o_l tool, for tasks like edge and peak detection.
  34.           And clustered-dot dithering gives a newspaper-ish look, a
  35.           useful special effect.
  36.  
  37.           The ----vvvvaaaalllluuuueeee flag alters the thresholding value for Floyd-
  38.           Steinberg and simple thresholding.  It should be a real
  39.           number between 0 and 1.  Above 0.5 means darker images;
  40.           below 0.5 means lighter.
  41.  
  42.           All flags can be abbreviated to their shortest unique
  43.           prefix.
  44.  
  45.      RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  46.           The only reference you need for this stuff is "Digital
  47.           Halftoning" by Robert Ulichney, MIT Press, ISBN 0-262-
  48.           21009-6.
  49.  
  50.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  51.           pbmreduce(1), pgm(5), pbm(5), pnmconvol(1)
  52.  
  53.      AAAAUUUUTTTTHHHHOOOORRRR
  54.           Copyright (C) 1989 by Jef Poskanzer.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.